﻿using System.Collections.Generic;


namespace WU.LoadTester.Lib
{
    public class Data
    {
        public List<string[]> Matrix { get; set; }
        
        public Data(string filePath)
        {
            var csvFile = new CsvFileReader(filePath, EmptyLineBehavior.NoColumns);
            Matrix = new List<string[]>();
            var row = new List<string>();
            while(csvFile.ReadRow(row))
            {
                Matrix.Add(row.ToArray());
            }

            csvFile.Dispose();
        }
    }
}
